<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="template/header.jsp"%>

<!--  <div id="container">-->




<%@include file="template/menu.jsp"%>


<!--  </div>-->

<!--end box-menu-->
<div style="width: 1000px; display: inline-block; float: left;">

	<p id="title-affect"
		style="margin: 20px; padding-left: 50px; font: 30px Calibri, Bold, Helvetica, sans-serif;">
		Effectif affecter :
		<c:out value="${studentNumber}"></c:out>
	</p>
	<form:form method="POST" commandName="availableSalles">
		<table id="box-table-a" summary="Employee Pay Sheet">
			<thead>
				<tr>
					<th scope="col"></th>
					<th scope="col">TYPE</th>
					<th scope="col">DESIGNATION</th>
					<th scope="col">CAPACITE</th>
					<th scope="col">CAPACITE Examen</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${availableSalles.salles}" var="salle"
					varStatus="vs">
					<tr>
						<td><form:checkbox path="salles[${vs.index}].id"
								value="${salle.id}" /></td>
								
						<td><c:out value="${salle.type}"></c:out></td>
						<td><c:out value="${salle.designation}"></c:out></td>
						<td><c:out value="${salle.capaciteR}"></c:out></td>
						<td><form:input path="salles[${vs.index}].capaciteE"></form:input></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<div>
			<input type="submit" class="large button blue"
				style="margin-left: 300px; margin-bottom: 20px;" />Affecter &raquo;
		</div>
	</form:form>
</div>
</body>

<%@include file="template/footer.jsp"%>
